home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #2 / Amiga Plus CD - 2004 - No. 02.iso / AmigaPlus / Tools / Anwendungen / CManager / Developer / Include / clib / CManager_protos.h
Encoding:
C/C++ Source or Header  |  2004-01-31  |  1.5 KB  |  52 lines

  1. #ifndef CLIB_CMANAGER_PROTOS_H
  2. #define CLIB_CMANAGER_PROTOS_H
  3.  
  4. /*
  5. **  $VER: CManager_protos.h 25.3 (18.1.2004)
  6. **  Includes Release 25.3
  7. **
  8. **  C prototypes. For use with 32 bit integers only.
  9. **
  10. **  Written by Simone Tellini <wiz@vapor.com> and
  11. **             Alfonso Ranieri <alforan@tin.it>.
  12. **
  13. **  Released under the terms of the
  14. **  GNU Public Licence version 2
  15. */
  16.  
  17. #ifndef LIBRARIES_CMANAGER_H
  18. #include <libraries/CManager.h>
  19. #endif
  20.  
  21. /* Database */
  22. struct CMData *CM_AllocCMData( void );
  23. struct CMGroup  *CM_GetParent( struct CMGroup *, struct CMGroup * );
  24. BOOL CM_LoadData( STRPTR, struct CMData *, STRPTR );
  25. struct CMData *CM_LoadCurrentUserData( BOOL );
  26. void CM_SaveData( STRPTR, struct CMData *, STRPTR );
  27. void CM_FreeData( struct CMData * );
  28. APTR CM_AllocEntry( ULONG );
  29. void CM_FreeEntry( APTR );
  30. APTR CM_GetEntry( APTR, ULONG );
  31. BOOL CM_AddEntry( APTR );
  32. void CM_FreeList( struct MinList * );
  33. BOOL CM_LoadDataOld( STRPTR, struct CMDataOld *, STRPTR );
  34. void CM_SaveDataOld( STRPTR, struct CMDataOld *, STRPTR );
  35. void CM_FreeDataOld( struct CMDataOld * );
  36.  
  37. /* Application */
  38. APTR CM_StartManager( STRPTR, STRPTR );
  39. void CM_FreeHandle( APTR, BOOL );
  40. APTR CM_StartCManagerA( struct TagItem *);
  41. APTR CM_StartCManager( Tag , ... );
  42.  
  43. /* Bitmaps - Obsolete! CM_CreateBitMap return NULL, CM_DeleteBitMap() does nothing! */
  44. struct BitMap *CM_CreateBitMap( ULONG, ULONG, ULONG, ULONG, struct BitMap * );
  45. void CM_DeleteBitMap( struct BitMap * );
  46.  
  47. /* Variuos */
  48. STRPTR CM_GetString( ULONG ID );
  49. ULONG CM_GetOption(ULONG option);
  50.  
  51. #endif /* CLIB_CMANAGER_PROTOS_H */
  52.